from hotblast.initialize import Initialize

'''
导入Initialize,定义一个子类用来继承Initialize
重写scan方法,然后任由你发挥，写点什么吧~
'''


class Hello(Initialize):

    def __init__(self, cfg_path):  # 接收一个配置文件路径
        super(Hello, self).__init__(cfg_path)

    @property
    def Scan(self) -> dict:
        return {"name": "黄宏哲"}


hello = Hello(cfg_path='config.cfg')
hello.run()
